Skip to content

Adding DscTestsPresent rule #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 82 commits into from
May 7, 2015

Conversation

KarolKaczmarek
Copy link
Contributor

Related to issue #97

yutingc and others added 30 commits April 23, 2015 10:49
Change property display name to be the same as property name
Merge features from Development to Master
This is required for publishing to PSGallery.
Add wild card support to Get-ScriptAnalyzerRule
…riableFixBranch

Fix typo in file name for AvoidUninitializedVariable.cs
According to cmdlet design guideline: we recommend omitting the cmdlet
noun from parameter names since it's redundant (i.e.
Get-ScriptAnalyzerRule -RuleName).
…itializedVariableFixBranch

AvoidUninitialized Variable Rule must recognize built-in variable $ExecutionContext
…tructions

Updating installation instructions
Change the import module name and .psd1 file to ScriptAnalyzer to match the VS solution name. That way we can solve the confusion of binplace and import-module.
Update the module name back to PSScriptAnalyzer name.
We need to have Microsoft Corp in these fields.
Updated Author, CompanyName and Copyright properties
yutingc and others added 2 commits May 6, 2015 11:52
}

It "has the correct description message" {
$violations[0].Message | Should Match $violationMessage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 'Should Be' when comparing strings. Match is for regex

@KarolKaczmarek
Copy link
Contributor Author

using Be instead of Match

@raghushantha
Copy link
Member

Sign-off from me

Regenerated strings.designer due to change in rule name (WMIObject to WMICmdlet)
@quoctruong
Copy link

Looks good to me too.

yutingc added a commit that referenced this pull request May 7, 2015
@yutingc yutingc merged commit 0bade57 into PowerShell:development May 7, 2015
@yutingc
Copy link
Contributor

yutingc commented May 7, 2015

Thanks Karol!

@KarolKaczmarek KarolKaczmarek deleted the DscTestsPresentRule branch May 8, 2015 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants